import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import Home from '@/components/Home'
import FileManager from '@/components/FileManager'
import VideoFileList from '@/components/VideoFileList'
import VideoList from '@/components/VideoList'
import VideoPlayer from '@/components/VideoPlayer'
import AlertList from '@/components/AlertList'
import Video_Surveillance from '@/components/Video_Surveillance'
import HelloWorld from '@/components/HelloWorld'
import Seach_ideo_add from '@/components/Seach_ideo_add'
import role_set from '@/components/role_set'
import orgnization_set from '@/components/orgnization_set'
import member_role from '@/components/member_role'
import operation from '@/components/operation'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/Home',
      name: 'Home',
      component: Home
    },
    {
      path: '/FileManager',
      name: 'FileManager',
      component: FileManager
    },
    {
      path: '/VideoFileList',
      name: 'VideoFileList',
      component: VideoFileList
    },
    {
      path: '/VideoList',
      name: 'VideoList',
      component: VideoList
    },
    {
      path: '/VideoPlayer',
      name: 'VideoPlayer',
      component: VideoPlayer
    },
    {
      path: '/AlertList',
      name: 'AlertList',
      component: AlertList
    },
    {
      path: '/Video_Surveillance',
      name: 'Video_Surveillance',
      component: Video_Surveillance
    },
    {
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/Seach_ideo_add',
      name: 'Seach_ideo_add',
      component: Seach_ideo_add
    },
    {
      path: '/role_set',
      name: 'role_set',
      component: role_set
    },
    {
      path: '/orgnization_set',
      name: 'orgnization_set',
      component: orgnization_set
    },
    {
      path: '/member_role',
      name: 'member_role',
      component: member_role
    },
    {
      path: '/operation',
      name: 'operation',
      component: operation
    },
    {path: '*', redirect: '/Home'}
  ]
})
